Skip to content

Instantly share code, notes, and snippets.

@rfairley
rfairley / reverse-ssh-tunnel-vps-to-pi.md
Last active May 21, 2024 08:57
Connecting to a Raspberry Pi through a VPS using a reverse SSH tunnel

Connecting to a Raspberry Pi through a VPS using a reverse SSH tunnel

SSH (Secure Shell) to a host existing in an internal network through a reverse-tunneled SSH connection to an externally accessible VPS (Virtual Private Server). This setup is described where the internal host is a Raspberry Pi, but can be generalized for any host on the internal network that runs an OpenSSH server.

  internal network                                                   Internet                                       home network
                                              ||                                                         ||
 ------------------                           ||                          ------------------             ||             ------------------
|                  | reverse SSH tunnel (VPS $tunnel_port to Pi port 22) |                  |            ||            |                  |
|   Raspberry Pi     ==================================================>         VPS          ===================
@qoomon
qoomon / conventional_commit_messages.md
Last active May 21, 2024 08:55
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs

Commit Message Formats

Default

@nguyenduclongwin
nguyenduclongwin / dark-style.css
Created May 21, 2024 08:53 — forked from Advik-B/dark-style.css
Modern Qt StyleSheet for dark theme lovers
/*-----QWidget-----*/
QWidget
{
background-color: #121212;
color: #ffffff;
border-color: #051a39;
}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: recyclarr
namespace: media
data:
recyclarr.yaml: |
sonarr:
sonarr-main:
@deliciouskek
deliciouskek / blefuzzV21.sh
Last active May 21, 2024 08:52
BLE Fuzzer V2.1
#!\bin\sh
#
# Bluetooth Low Energy Fuzzer Version 2.1
# code by @delciouskek (Jordan H.)
#
# Greetings to @DA_667, Lesley Carhart (@hacksforpancakes), #allcatpack, Jayson E. Street, @lojikil
# @anarchistdalek, @cryptoishard, @metalgearreynrd, @lnxdork, @7th_protocol, @m3atshi3ld, @savagememes,
# @tribl_a2k, @grubthor, @skoomapipe, @t3h_arch3r, @livebeef, @zawarudad, @fuckcrunchroll, @sonichu1,
# @rustlay, @myhaxorninja, @mywhiteninja, @tsundereranger, Dan Aleksander (@havetilfive), @yokalli,
# @epikmani, @apexcybertwat, @genxmedia, @ra6bit, @detinspector, @teridax, @mcrealname, @mo0ty,
@rxaviers
rxaviers / gist:7360908
Last active May 21, 2024 08:52
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue:
@t-nissie
t-nissie / 00Julia.md
Last active May 21, 2024 08:51
Julia็ทด็ฟ’ๅธณ
@fclairamb
fclairamb / tree_next.c
Created July 21, 2014 23:57
AVL tree with the parent node for each node to easily get the next node
#ifdef SHELL
gcc -Wall -Werror $0 && ./a.out
exit $?
#endif
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#define max(a,b) \
@dahlia
dahlia / job.md
Last active May 21, 2024 08:48
์ผ์ž๋ฆฌ๋ฅผ ์ฐพ์Šต๋‹ˆ๋‹ค

์ผ์ž๋ฆฌ๋ฅผ ์ฐพ์Šต๋‹ˆ๋‹ค

์•ˆ๋…•ํ•˜์„ธ์š”, ์„œ์šธ์— ๊ฑฐ์ฃผํ•˜๋Š” 18๋…„์ฐจ ์†Œํ”„ํŠธ์›จ์–ด ์—”์ง€๋‹ˆ์–ด [ํ™๋ฏผํฌ]์ž…๋‹ˆ๋‹ค.

[์ง‘์•ˆ ์‚ฌ์ •]์œผ๋กœ ์ผ์„ ์‰ฐ ์ง€ 1๋…„์ด ๋˜์—ˆ๊ณ , ์ด์ œ ์Šฌ์Šฌ ์žฌ์ทจ์—…์„ ํ•˜๋ ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค. 1๋…„์„ ์‰ฐ ๋งŒํผ ์ด๋ฒˆ ์ทจ์—…์€ ์†Œํ”„ํŠธ์›จ์–ด ์—”์ง€๋‹ˆ์–ด๋กœ์„œ ์žฌํ™œ์„ ํฐ ๋ชฉํ‘œ๋กœ ๋‘๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ์ž์„ธํ•œ ์ œ ์†Œ๊ฐœ๋Š” [์ด๋ ฅ์„œ]๋ฅผ ์ฐธ๊ณ ํ•ด ์ฃผ์„ธ์š”.

์ œ๊ฐ€ ์„ ํ˜ธํ•˜๋Š” ์—…๋ฌด ํ™˜๊ฒฝ์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

  • ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด ๋ฐ ํ”Œ๋žซํผ: ์˜ค๋ž˜๋˜๊ณ  ๊ฒ€์ฆ๋œ Java ๊ฐ™์€ ํ”Œ๋žซํผ๋„ ๋ฌผ๋ก  ์ข‹์Šต๋‹ˆ๋‹ค๋งŒ, Rust๋‚˜ Haskell์ฒ˜๋Ÿผ ๋น„๊ต์  ์ตœ์‹ ์˜ PLT ์—ฐ๊ตฌ๊ฐ€ ๋ฐ˜์˜๋˜์–ด ์žˆ๋Š” ์–ธ์–ด๋„ ์ฆ๊ฒจ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ๋น„๊ต์  ๋Šฅ์ˆ™ํ•œ ์–ธ์–ด๋กœ๋Š” Haskell, TypeScript, Python, C# ์ •๋„๊ฐ€ ์žˆ๊ณ , ๋‹ค๋ฅธ ์–ธ์–ด๋ผ๋„ ํ•„์š”ํ•˜๋‹ค๋ฉด ๋ฐฐ์›Œ์„œ ์จ์•ผ๊ฒ ์ง€์š”.